// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:54:01


// Source File Name:   lb.java

package com.zelix;


//            bf

public class lb extends Error {

    int a;
    private static String z[];

    public lb(String s, int i) {
        super(s);
        a = i;
    }

    public lb(boolean flag, int i, int j, int k, String s, char c, int l) {
        this(a(flag, i, j, k, s, c), l);
    }

    private static final String a(boolean flag, int i, int j, int k, String s, char c) {
        return z[1] + j + z[6] + k + z[5] + (flag ? z[0] : "\"" + a(String.valueOf(c)) + "\"" + z[2] + (int) c + z[3]) + z[4] + a(s) + "\"";
    }

    protected static final String a(String s) {
        StringBuffer stringbuffer;
        int i;
        int j;
        j = bf.d;
        stringbuffer = new StringBuffer();
        for (i = 0; i < s.length(); i++) {
            switch (s.charAt(i)) {
                case 0: // '\0'
                    continue;

                case 8: // '\b'
                    stringbuffer.append(z[11]);
                    break;

                case 9: // '\t'
                    stringbuffer.append(z[15]);
                    break;

                case 10: // '\n'
                    stringbuffer.append(z[16]);
                    break;

                case 12: // '\f'
                    stringbuffer.append(z[14]);
                    break;

                case 13: // '\r'
                    stringbuffer.append(z[9]);
                    break;

                case 34: // '"'
                    stringbuffer.append(z[8]);
                    break;

                case 39: // '\''
                    stringbuffer.append(z[13]);
                    break;

                case 92: // '\\'
                    stringbuffer.append(z[10]);
                    break;

                default:
                    char c;
                    if ((c = s.charAt(i)) < ' ' || c > '~') {
                        String s1 = z[12] + Integer.toString(c, 16);
                        stringbuffer.append(z[7] + s1.substring(s1.length() - 4, s1.length()));
                    } else {
                        stringbuffer.append(c);
                    }
                    break;
            }
        }
        return stringbuffer.toString();

    }

    public String getMessage() {
        return super.getMessage();
    }

    private static String z(char ac[]) {
        for (int i = 0; i < ac.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 0x70;
                    break;
                case 1:
                    key = 35;
                    break;
                case 2:
                    key = 100;
                    break;
                case 3:
                    key = 6;
                    break;
                default:
                    key = 89;
                    break;
            }
            ac[i] ^= key;
        }
        return new String(ac).intern();
    }

    static {
        String as[];
        as = new String[17];
        as[0] = "Lf+@gP";
        as[1] = "<F\034o:\021ODc+\002L\026&8\004\003\bo7\025\003";
        as[2] = "P\013";
        as[3] = "Y\017D";
        as[4] = "\021E\020c+P\031D$";
        as[5] = "^\003DC7\023L\021h-\025Q\001bcP";
        as[6] = "\\\003\007i5\005N\n&";
        as[7] = ",V";
        as[8] = ",\001";
        as[9] = ",Q";
        as[10] = ",\177";
        as[11] = ",A";
        as[12] = "@\023T6";
        as[13] = ",\004";
        as[14] = ",E";
        as[15] = ",W";
        as[16] = ",M";
        for (int i = 0; i < as.length; i++) {
            as[i] = z(as[i].toCharArray());
        }
        z = as;

    }
}